import request from '@/utils/request'

// 查询营地交流图片列表
export function listCommunicationimage(query) {
  return request({
    url: '/camp/communicationimage/list',
    method: 'get',
    params: query
  })
}

// 查询营地交流图片详细
export function getCommunicationimage(imageUrlId) {
  return request({
    url: '/camp/communicationimage/' + imageUrlId,
    method: 'get'
  })
}

// 新增营地交流图片
export function addCommunicationimage(data) {
  return request({
    url: '/camp/communicationimage',
    method: 'post',
    data: data
  })
}

// 修改营地交流图片
export function updateCommunicationimage(data) {
  return request({
    url: '/camp/communicationimage',
    method: 'put',
    data: data
  })
}

// 删除营地交流图片
export function delCommunicationimage(imageUrlId) {
  return request({
    url: '/camp/communicationimage/' + imageUrlId,
    method: 'delete'
  })
}
